package com.csust.travel.entity;

public class Transaction {
    private Integer id;
    private Integer buyer_id;
    private Integer seller_id;
    private String transaction_date;
    private double amount;
    private String status;
    private String quantity;
    private String book_name;
    private Integer books_id;
    private String book_img;
    private Integer comment_id;
    private  Integer hasCommented;

    private String buyer_name;
    private String seller_name;

    public String getBuyer_name() {
        return buyer_name;
    }

    public void setBuyer_name(String buyer_name) {
        this.buyer_name = buyer_name;
    }

    public String getSeller_name() {
        return seller_name;
    }

    public void setSeller_name(String seller_name) {
        this.seller_name = seller_name;
    }

    public Integer getHasCommented() {
        return hasCommented;
    }

    public void setHasCommented(Integer hasCommented) {
        this.hasCommented = hasCommented;
    }

    public Integer getComment_id() {
        return comment_id;
    }

    public void setComment_id(Integer comment_id) {
        this.comment_id = comment_id;
    }

    public String getBook_img() {
        return book_img;
    }

    public void setBook_img(String book_img) {
        this.book_img = book_img;
    }

    public Integer getBooks_id() {
        return books_id;
    }

    public void setBooks_id(Integer books_id) {
        this.books_id = books_id;
    }

    @Override
    public String toString() {
        return "Transaction{" +
                "id=" + id +
                ", buyer_id=" + buyer_id +
                ", seller_id=" + seller_id +
                ", transaction_date='" + transaction_date + '\'' +
                ", amount=" + amount +
                ", status='" + status + '\'' +
                ", quantity='" + quantity + '\'' +
                ", book_name='" + book_name + '\'' +
                ", books_id='" + books_id + '\'' +
                '}';
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBuyer_id() {
        return buyer_id;
    }

    public void setBuyer_id(Integer buyer_id) {
        this.buyer_id = buyer_id;
    }

    public Integer getSeller_id() {
        return seller_id;
    }

    public void setSeller_id(Integer seller_id) {
        this.seller_id = seller_id;
    }

    public String getTransaction_date() {
        return transaction_date;
    }

    public void setTransaction_date(String transaction_date) {
        this.transaction_date = transaction_date;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
